<?php


namespace app\service;

use app\model\AdminGoodsModel;
use app\model\AdminMenuModel;
use app\model\AdminTemplateModel;
use app\model\AdminUserModel;
use app\model\AudioFrequencyModel;
use app\model\PhotoAlbumModel;
use app\model\ImageAssetModel;
use think\Service;

class ModelService extends Service
{

    /**
     * @var string[]
     */
    public $bind = [
        'adminUserModel' => AdminUserModel::class,
        'adminMenuModel' => AdminMenuModel::class,
        'adminTemplateModel' => AdminTemplateModel::class,
        'adminGoodsModel' => AdminGoodsModel::class,
        'audioFrequencyModel' => AudioFrequencyModel::class,
        'photoAlbumModel' => PhotoAlbumModel::class,
        'imageAssetModel' => ImageAssetModel::class,
    ];

    /**
     * 注册服务
     * @param string $class 类名
     * @param array $vars 参数
     * @return mixed
     */
    public function register()
    {
        //
    }

    /**
     * 执行服务
     * @return mixed
     */
    public function boot()
    {
        //
    }
}
